- Print
- DarkLight
List all folders in the project drive.
Returns all folders as a hierarchical tree structure where each folder may contain nested SubFolders. Requires ViewDrive permission. To retrieve files within a specific folder, use GET /v3/projects/{projectId}/drive/folders/{folderId} instead.
All V3 endpoints require a Bearer token. Generate tokens in the Document360 portal under Settings > API Tokens. Tokens are project-scoped, require the customerApi scope, and do not expire by default. Tokens can be revoked at any time from the portal. Include the token in every request: Authorization: Bearer <your-token>. Alternatively, use the Authorize button below to sign in via OAuth2 Authorization Code flow with PKCE.
The unique identifier of the project. Retrieve project IDs from GET /v3/projects.
Page number (1-based). Defaults to 1.
Number of results per page. Defaults to 25. Maximum 100.
Opaque cursor from a previous response's next_cursor. When provided, page is ignored.
Set to true to include total_count in the response. Default: false.
Folders retrieved successfully.
Returns a list of top-level folders in the drive
{
"data": [
{
"id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"title": "Product Screenshots",
"parent_folder_id": null,
"sub_folders": [
{
"id": "b2c3d4e5-6789-abcd-ef01-2345678901bc",
"title": "Dashboard",
"parent_folder_id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"sub_folders": [],
"items_count": 8,
"created_at": null,
"updated_by": "[email protected]",
"modified_at": "2025-06-15T10:30:00Z",
"order": 1,
"is_starred": false
}
],
"items_count": 24,
"created_at": null,
"updated_by": "[email protected]",
"modified_at": "2025-07-20T14:45:00Z",
"order": 1,
"is_starred": true
},
{
"id": "c3d4e5f6-789a-bcde-f012-3456789012cd",
"title": "API Documentation Assets",
"parent_folder_id": null,
"sub_folders": [],
"items_count": 12,
"created_at": null,
"updated_by": "[email protected]",
"modified_at": "2025-08-05T09:15:00Z",
"order": 2,
"is_starred": false
}
],
"success": true,
"request_id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"errors": null,
"warnings": null
}Paginated API response containing a list of items.
List of items for the current page.
Represents a folder in the Drive file manager.
Unique identifier of the folder.
Display name of the folder.
Unique identifier of the parent folder. Null if this is a root-level folder. Retrieve folder IDs from GET /v3/projects/{projectId}/drive/folders.
List of immediate child folders nested under this folder.
Represents a folder in the Drive file manager.
Total number of files contained in this folder.
Date and time when this folder was created.
User ID of the person who last modified this folder.
Date and time when this folder was last modified.
Sort order position of this folder among its siblings.
Whether this folder is marked as starred/favorited by the current user.
Pagination metadata.
Current page number (1-based). Returns 0 when using cursor-based pagination.
Number of items per page.
Total number of items across all pages. Only populated when include_total_count=true is specified in the request.
Whether additional pages are available.
Opaque cursor to retrieve the next page of results. Pass this value as the cursor query parameter. Null when there are no more pages.
Whether the API request was successful.
Unique identifier for request tracing and correlation.
List of errors if the request failed.
Represents an error returned by the API.
Machine-readable error code (e.g. VALIDATION_ERROR, RESOURCE_NOT_FOUND).
Human-readable error message.
The request field that caused the error, if applicable.
Additional context about the error.
List of non-fatal warnings from the request.
Represents a non-fatal warning from the API.
Machine-readable warning code.
Human-readable warning message.
Authentication token is missing or invalid.
Authentication token is missing or invalid.
{
"type": "https://developer.document360.com/errors/unauthorized",
"title": "Unauthorized.",
"status": 401,
"detail": "The authentication token is missing or has expired.",
"instance": null,
"trace_id": "req_abc123def456",
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Bearer token is missing or invalid.",
"field": null,
"details": null
}
],
"warnings": null
}RFC 7807 Problem Details response for V3 API errors. Content-Type: application/problem+json
URI reference identifying the error type (links to documentation).
Short human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
URI of the request that generated the error.
Request trace identifier for correlation.
Structured list of specific errors (extension field).
Represents an error returned by the API.
Machine-readable error code (e.g. VALIDATION_ERROR, RESOURCE_NOT_FOUND).
Human-readable error message.
The request field that caused the error, if applicable.
Additional context about the error.
Non-fatal warnings (extension field).
Represents a non-fatal warning from the API.
Machine-readable warning code.
Human-readable warning message.
Rate limit exceeded. Retry after the duration specified in the Retry-After header.
Rate limit exceeded.
{
"type": "https://developer.document360.com/errors/too-many-requests",
"title": "Too Many Requests.",
"status": 429,
"detail": "Rate limit exceeded. Retry after the duration specified in the Retry-After header.",
"instance": null,
"trace_id": "req_abc123def456",
"errors": [
{
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry after the duration specified in the Retry-After header.",
"field": null,
"details": null
}
],
"warnings": null
}RFC 7807 Problem Details response for V3 API errors. Content-Type: application/problem+json
URI reference identifying the error type (links to documentation).
Short human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
URI of the request that generated the error.
Request trace identifier for correlation.
Structured list of specific errors (extension field).
Represents an error returned by the API.
Machine-readable error code (e.g. VALIDATION_ERROR, RESOURCE_NOT_FOUND).
Human-readable error message.
The request field that caused the error, if applicable.
Additional context about the error.
Non-fatal warnings (extension field).
Represents a non-fatal warning from the API.
Machine-readable warning code.
Human-readable warning message.
An unexpected server error occurred.
Unexpected server error.
{
"type": "https://developer.document360.com/errors/internal-error",
"title": "Internal Server Error.",
"status": 500,
"detail": "An unexpected error occurred. Please try again or contact support.",
"instance": null,
"trace_id": "req_abc123def456",
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred.",
"field": null,
"details": null
}
],
"warnings": null
}RFC 7807 Problem Details response for V3 API errors. Content-Type: application/problem+json
URI reference identifying the error type (links to documentation).
Short human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
URI of the request that generated the error.
Request trace identifier for correlation.
Structured list of specific errors (extension field).
Represents an error returned by the API.
Machine-readable error code (e.g. VALIDATION_ERROR, RESOURCE_NOT_FOUND).
Human-readable error message.
The request field that caused the error, if applicable.
Additional context about the error.
Non-fatal warnings (extension field).
Represents a non-fatal warning from the API.
Machine-readable warning code.
Human-readable warning message.
